testReadWrite{
  RedisReplyDecoder redisDecoder=new RedisReplyDecoder();
    io.netty.buffer.Unpooled.buffer
    new StatusReply(message).write(os);
    assertTrue(receive instanceof StatusReply);
    assertEquals(message,receive.data());
    io.netty.buffer.Unpooled.buffer
    new ErrorReply(message).write(os);
    assertTrue(receive instanceof ErrorReply);
    assertEquals(message,receive.data());
    io.netty.buffer.Unpooled.buffer
    io.netty.buffer.Unpooled.wrappedBuffer
    assertTrue(receive instanceof BulkReply);
    io.netty.buffer.ByteBuf.toString
    io.netty.buffer.Unpooled.buffer
    new IntegerReply(integer).write(os);
    assertTrue(receive instanceof IntegerReply);
    assertEquals(integer,receive.data());
    io.netty.buffer.Unpooled.wrappedBuffer
    assertTrue(receive instanceof MultiBulkReply);
    Reply[] data=(Reply[])receive.data();
    assertEquals(message,data[0].data());
    assertEquals(message,data[1].data());
    assertTrue(data[2] instanceof MultiBulkReply);
    Reply[] data2=(Reply[])data[2].data();
    assertEquals(message,data2[0].data());
    io.netty.buffer.ByteBuf.toString
    assertEquals(integer,data[4].data());
}
